<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="Generator" content="68ECSHOP v4_2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="Keywords" content=""/>
    <meta name="Description" content=""/>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    <title>我的淘嘟嘟</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/user.css"/>
    <script src="__JS__/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__JS__/home/common.min.js" type="text/javascript" charset="utf-8"></script>
    <!--			layer-->
    <script type="text/javascript" src="__JS__/jquery.form.js"></script>
    <script type="text/javascript" src="__JS__/tips/toastr.min.js"></script>
    <script type="text/javascript" src="__JS__/layer/layer.js"></script>
    <script type="text/javascript" src="__JS__/jquery.layer.js"></script>
    <!--			layer-->
    <script src="__JS__/taodudu.lib.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>

<include file="Public/head_a" />
<include file="Public/head_b" />
<include file="Public/head_c" />

<div class="margin-w1210 clearfix">
    <!--S用户中心公共左边-->
    <include file="Public/user_left"/>
    <!--E用户中心公共左边-->
    <div class="user-right">
        <div class="account">
            <div class="notice"><i></i> <span>用户中心公告：淘嘟嘟上线啦！</span></div>
            <div class="money">
                <ul class="clearfix">
                    <li class="first">
                        <div class="title"><span>账号余额</span></div>
                        <div class="pic">
                            <a href="user.php?act=account_log"><i class="user_bg"></i></a>
                        </div>
                        <p>
                            <a href="user.php?act=account_log">￥0.00</a>
                        </p>
                    </li>
                    <li class="second">
                        <div class="title"><span>红包</span></div>
                        <div class="pic">
                            <a href="user.php?act=bonus"><i class="user_bg"></i></a>
                        </div>
                        <p>
                            <a href="user.php?act=bonus"> 0 张</a>
                        </p>
                    </li>
                    <li class="third">
                        <div class="title"><span>可用积分</span></div>
                        <div class="pic"><i class="user_bg"></i></div>
                        <p>
                            <a href="exchange.php">0积分</a>
                        </p>
                    </li>
                </ul>
            </div>
            <div class="security">
                <div class="improve">
                    <p>账户安全</p>
                    <span class="improve-name"> 一般 </span> <i class="low">
                        <if condition="(session('user_auth.user_email_bind'))">
                            <em style="width: 150px"></em>
                        <else />
                            <em style="width: 100px"></em>
                        </if>

                    </i>
                    <a href="{:U('Security/index')}" title="提升账户安全等级">提升 &gt;</a>
                </div>
                <div class="safe-info clearfix">
                    <div class="safe-type phone">
                        <i class="tit-icon"></i>
                        <span class="safe-name">手机：</span> 已验证
                    </div>
                    <div class="safe-type mail">
                        <i class="tit-icon"></i>
                        <span class="safe-name">邮箱：</span>
                        <if condition="(session('user_auth.user_email_bind') == 1)">
                            已验证
                        <else />
                            <a class="res" href="{:U('Security/emil_a')}">未绑定</a>
                        </if>

                    </div>
                </div>
            </div>
            <div class="middle order">
                <div class="line1 clearfix">
                    <div class="title"><i></i><span>交易提醒</span></div>
                    <div class="status">
                        <ul>
                            <li><a href="{:U('Order/waitPay')}" title="待付款">待付款<span>{$waitPay}</span></a><i></i></li>
                            <li><a href="{:U('Order/waitSend')}" title="待发货">待发货<span>{$waitSend}</span></a><i></i></li>
                            <li><a href="{:U('Order/waitConfirm')}" title="待收货">待收货<span>{$waitConfirm}</span></a></li>
                        </ul>
                    </div>
                    <a class="more" href="{:U('Order/index')}" title="查看全部订单">查看全部订单 &gt;</a>
                </div>

                <empty name="arrOrder">
                    <div class="emptyFrame clearfix"><i class="user_bg"></i><span>您好久没在商城购物了，这里空空的，赶快去购物吧！</span></div>
                    <else/>
                    <div class="proListUc">
                        <foreach name="arrOrder" item="v">
                            <ul class="listLine clearfix">
                                <li>
                                    <ul class="img clearfix">
                                        <li><a href="{:HOME_URL}/Goods/{$v['OrderGoods'][0]['goods_id']}" title="{$v['OrderGoods'][0]['goods_name']}" target="_blank">
                                                <img src="{$v['OrderGoods'][0]['goods_image']}" alt="{$v['OrderGoods'][0]['goods_title']}">
                                            </a> <span class="order-num">{$v['OrderGoods'][0]['goods_num']}</span></li>
                                    </ul>
                                </li>
                                <li class="name"><a href="{:HOME_URL}/Goods/{$v['OrderGoods'][0]['goods_id']}" title="{$v['OrderGoods'][0]['goods_name']}" target="_blank">{$v['OrderGoods'][0]['goods_title']}</a></li>
                                <li class="attr">规格:{$v['OrderGoods'][0]['goods_attri_info']}</li>
                                <li class="type">
                                    <if condition="($v['order_state'] eq 10)">
                                        <a class="none" href="">取消订单</a><a class="cancel-order" href="havascript:;">取消订单</a>
                                    </if>
                                </li>
                                <li class="check"><a href="{:U('Order/details',array('order_id'=>$v['order_id']))}" title="查看订单" target="_blank">查看</a></li>
                            </ul>
                        </foreach>
                    </div>
                </empty>

            </div>
            <div class="middle cart">
                <div class="line1 clearfix">
                    <div class="title"><i></i><span>我的购物车</span></div>
                </div>
                <if condition="($cart)">
                <div class="proListUc_cart">
                    <div class="div_scroll">
                        <div style="float:left; height:auto; width:auto">
                            <ul class="listLine_cart clearfix">
                               <foreach name="cart" item="v">
                                   <li>
                                   <a href="" target="_blank" title="{$v['goods_name']}" class="pic"> <img src="{$v['goods_image']}" alt="{$v['goods_name']}"> </a>
                                   <a href="" target="_blank" title="{$v['goods_name']}" class="name">{$v['goods_name']}</a>
                                   <p>售价：<font>￥{$v['goods_price']}</font></p>
                                   </li>
                               </foreach>
                            </ul>
                        </div>
                    </div>
                    <p class="more"> <a href="{:U('Cart/index')}" target="_blank" title="查看购物车所有商品">查看购物车所有商品 &gt;</a> </p>
                </div>
                <else />
                <div class="emptyFrame_cart"><i class="user_bg"></i><span>您的购物车里空空的，赶快去购物吧！</span></div>
                </if>
            </div>
<!--            <div class="middle exchange">-->
<!--                <div class="line1 clearfix">-->
<!--                    <div class="title"><i></i><span>积分兑换</span></div>-->
<!--                    <a class="more" href="exchange.php" title="进入积分商城">进入积分商城 &gt;</a>-->
<!--                </div>-->
<!--                <div class="emptyFrame_exchange clearfix"><i class="user_bg"></i><span>没有可兑换的商品呦！随便去逛逛吧！</span></div>-->
<!--            </div>-->
<!--            <div class="middle history">-->
<!--                <div class="line1 clearfix">-->
<!--                    <div class="title"><i></i><span>历史订单</span></div>-->
<!--                </div>-->
<!--                <div class="emptyFrame_history"><i class="user_bg"></i><span>您还没有购买过商品！</span></div>-->
<!--            </div>-->
            <script>
                /*第一种形式 第二种形式 更换显示样式*/
                function setTabCatGoods(name, cursel, n) {
                    for (i = 1; i <= n; i++) {
                        var menu = document.getElementById(name + i);
                        var con = document.getElementById("con_" + name + "_" + i);
                        con.style.display = i == cursel ? "block" : "none";
                        menu.className = i == cursel ? "line1" : "line2";
                    }
                }
            </script>
            <div class="middle collect">
                <div class="line1" id="tab1" onmouseover="setTabCatGoods('tab',1,2)">
                    <div class="title"><i></i><span>商品收藏</span></div>
                </div>
                <div class="line2" id="tab2" onmouseover="setTabCatGoods('tab',2,2)">
                    <div class="title"><i></i><span>店铺关注</span></div>
                </div>
                <div style="height:0px;line-height:0px;clear:both"></div>
                <div class="tab_con" style="width:100%">
                        <div class="" id="con_tab_1">
                            <if condition="$goods">
                            <div class="colList clearfix">
                                <div class="colFrame">
                                    <ul style="left: 0px;" class="clearfix">
                                        <foreach name="goods" item="v">
                                            <li class="first">
                                                <a href="{:U('Goods/index',array('id'=>$v['goods_id']))}" title="{$v['goods_title']}" target="_blank" class="img"> <img src="{$v['goods_thumb']}" alt="{$v['goods_title']}"/> <span>￥{$v['goods_price']}</span> </a> <a href="{:U('Goods/index',array('id'=>$v['goods_id']))}" title="{$v['goods_title']}" target="_blank" class="name">{$v['goods_title']}</a>
                                            </li>
                                        </foreach>
                                    </ul>
                                </div>
                                <p class="more"><a href="{:U('Favorites/index')}" title="查看收藏的所有商品">查看收藏的所有商品 &gt;</a></p>
                            </div>
                                <else />
                                    <div class="emptyFrame_collect"> <i class="user_bg"></i><span>您的收藏空空的，赶快去购物吧！</span> </div>
                            </if>
                        </div>
                    <div id="con_tab_2" style="display:none">
                        <if condition="$store">
                        <div class="shopList clearfix">
                            <div class="colFrame">
                                <ul style="left: 0px;" class="clearfix">
                                    <foreach name="store" item="v">
                                    <li class="first">
                                        <a href="/Supplier/{$v['store_id']}" title="{$v['store_name']}" target="_blank" class="img">
<!--                                            <div class="mask"></div>-->
                                            <empty name="v.store_label">
                                                <img src="__IMG__/home/mask2.png" alt="{$v['store_name']}"/>
                                            <else />
                                                <img src="{$v['store_label']}" alt="{$v['store_name']}"/>
                                            </empty>
                                        </a>
                                        <a href="/Supplier/{$v['store_id']}" title="{$v['store_name']}" target="_blank" class="name">{$v['store_name']}</a></li>
                                    </foreach>
                                </ul>
                            </div>
                            <p class="more"><a href="{:U('Favorites/index')}" title="查看收藏的所有店铺">查看收藏的所有店铺 &gt;</a></p>
                        </div>
                            <else />
                            <div class="emptyFrame_shop"> <i class="user_bg"></i><span>您的店铺收藏空空的，赶快去收藏店铺吧！</span> </div>
                        </if>
                    </div>
                </div>
            </div>
        </div>
        <div class="box">
        </div>
    </div>
</div>
<div class="pop-main pop-compare">
    <div class="pop-header"><span>温馨提示</span>
        <a class="pop-close" href="javascript:;" title="关闭"></a>
    </div>
    <div class="pop-con"><i class="pop-icon"></i>
        <p class="pop-text" style="padding-top: 20px;">您确定要取消该订单吗？取消订单后，不能恢复。</p>
        <div class="pop-btn">
            <a href="javascript:;" class="main-bg-color sure-btn">确定</a>
            <a class="cancel-btn">取消</a><span class="clear"></span></div>
    </div>
</div>
<div class="pop-mask"></div>

<div style="clear: both"></div>
<div class="site-footer">
    <div class="footer-related">
        <include file="Public/bootom_a" />
        <include file="Public/bootom_b" />
        <include file="Public/bootom_c" />
    </div>
</div>

<a href="#" class="big-link" data-reveal-id="myModal" data-animation="fade"></a>
</body>
</html>